package com.fira.edu.domain;

import java.math.BigDecimal;

import com.fira.common.core.domain.saas.base.BaseEntity;
import com.fira.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程套餐对象 edu_course_meal
 * 
 * @author tony
 * @date 2021-10-01
 */
public class EduCourseMeal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 租户 */
    @Excel(name = "租户")
    private String tenantId;

    /** 所属课程 */
    @Excel(name = "所属课程")
    private String courseId;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String mealName;

    /** 课时 */
    @Excel(name = "课时")
    private Integer courseHourse;

    /** 赠送课时 */
    @Excel(name = "赠送课时")
    private Integer giveCourseHours;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal originalPrice;

    /** 优惠方式(优惠金额或折扣比例，具体对应字典信息) */
    @Excel(name = "优惠方式(优惠金额或折扣比例，具体对应字典信息)")
    private String discountType;

    /** 优惠值 */
    @Excel(name = "优惠值")
    private String discountValue;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTenantId(String tenantId) 
    {
        this.tenantId = tenantId;
    }

    public String getTenantId() 
    {
        return tenantId;
    }
    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setMealName(String mealName) 
    {
        this.mealName = mealName;
    }

    public String getMealName() 
    {
        return mealName;
    }
    public void setCourseHourse(Integer courseHourse) 
    {
        this.courseHourse = courseHourse;
    }

    public Integer getCourseHourse() 
    {
        return courseHourse;
    }
    public void setGiveCourseHours(Integer giveCourseHours) 
    {
        this.giveCourseHours = giveCourseHours;
    }

    public Integer getGiveCourseHours() 
    {
        return giveCourseHours;
    }
    public void setOriginalPrice(BigDecimal originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setDiscountType(String discountType) 
    {
        this.discountType = discountType;
    }

    public String getDiscountType() 
    {
        return discountType;
    }
    public void setDiscountValue(String discountValue) 
    {
        this.discountValue = discountValue;
    }

    public String getDiscountValue() 
    {
        return discountValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("courseId", getCourseId())
            .append("mealName", getMealName())
            .append("courseHourse", getCourseHourse())
            .append("giveCourseHours", getGiveCourseHours())
            .append("originalPrice", getOriginalPrice())
            .append("discountType", getDiscountType())
            .append("discountValue", getDiscountValue())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
